package com.huawen.cms.app.service;

import com.huawen.cms.app.dto.ArtView;
import com.huawen.cms.app.mapper.ArticleMapper;
import com.huawen.cms.app.mapper.BaseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleServiceImpl extends BaseServiceImpl implements ArticleService {

    @Autowired
    private ArticleMapper mapper;

    @Override
    public BaseMapper getMapper() {
        return mapper;
    }


    public List<ArtView> getArtViewList(ArtView artView) {
        return mapper.getArtViewList();
    }


}
